package com.example.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 生产计划表
 * </p>
 *
 * @author baomidou
 * @since 2025-05-14
 */
@Getter
@Setter
@TableName("production_plan")
public class ProductionPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 计划编号
     */
    @TableId(value = "plan_id", type = IdType.AUTO)
    private Integer planId;

    /**
     * 部门ID
     */
    private Integer deptId;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 计划数量
     */
    private Integer plannedQuantity;

    /**
     * 实际数量
     */
    private Integer actualQuantity;

    /**
     * 审核状态 0-未审核 1-已审核
     */
    private Integer auditStatus;

    /**
     * 审核人员ID
     */
    private Integer auditorId;

    /**
     * 审核意见
     */
    private String auditComment;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
